﻿namespace OasisCiq.Xpil
{
    using System.Collections.Specialized;
    using CommonTypes;
    using External;

    /// <summary>
    /// Full description of membership or part of it
    /// </summary>
    public class MembershipElement : CTString, IExtendedAttributes
    {
        public MembershipElement(string value)
            : base(value)
        {
        }

        /// <summary>
        /// If present, specifies the type of the information 
        /// provided as text value of the element.
        /// </summary>
        public MembershipElementList Type { get; set; }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
